package com.yudean.esb.dao.erp;

import com.yudean.esb.domain.erp.ErpIdsControl;
import com.yudean.esb.mapper.erp.ErpIdsControlMapper;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
@Scope("prototype")
public class ErpIdsControlDao {

    @Resource
    public ErpIdsControlMapper erpIdsControlMapper;

    public String getERPControlId() {
        return erpIdsControlMapper.getERPControlId();
    }

    public int insertSelective(ErpIdsControl record) {
        return erpIdsControlMapper.insertSelective(record);
    }
}
